/**
 * 
 */
package com.hs.core.action;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts2.ServletActionContext;

import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;

/**
 * @author shl
 *
 */
public class AbstractAction extends ActionSupport {

	protected HttpServletRequest getHttpServletRequest(){
//		HttpServletRequest request = ServletActionContext.getRequest ();   
		ActionContext ct= ActionContext.getContext();
	    HttpServletRequest request= (HttpServletRequest)ct.get(ServletActionContext.HTTP_REQUEST);  
        return request;
	}
	protected Map getSession(){
//		Map session=(Map)ActionContext.getContext().getA.getActionContext.SESSION);  
//        return session;
		return null;
	}

}
